<template>
    <el-dialog
        :close-on-click-modal="true"
        :modal="true"
        :visible.sync="showDialog"
        :show-close="false"
        :before-close="closeDialog"
        class="jqdiaLog"
    >
    <div class="title_jd">{{keyPlace.keyPlaceData.name}}</div>
    <div class="tole_num_jd">游客总数</div>
    <div class="tole_num_var_jd">{{keyPlace.keyPlaceData.tolenum}}</div>

    </el-dialog>
</template>

<script>
export default {
    props: {
        showDialog: {
            type: Boolean,
            default: false
        },
        keyPlace: {
            type: Object,
            default: () => {
                return {}
            }
        }
    },
    computed: {
    },
    data() {
        return {}
    },
    methods: {
        closeDialog() {
            this.$emit('closeKeyPlace', false)
        }
    },
    created() {
        // console.log(this.keyPlace)
    },
    mounted() {
        // this.init()
    },
    destroyed() {}
}
</script>

<style lang="less" scoped>
.jqdiaLog {
    width: 161px;
	height: 112px;
    background: url('/static/icon/jqdialog.png') no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: -112px;
    left: -50px;
    text-align: center;
}
.title_jd{
    width: 100%;
    height: 24px;
    font-family: MicrosoftYaHei;
	font-size: 18px;
	font-weight: normal;
	font-stretch: normal;
	letter-spacing: 0px;
	color: #ffffff;
    position: absolute;
    top: 10px;
}
.tole_num_jd{
	font-family: MicrosoftYaHei;
	font-size: 14px;
	font-weight: normal;
	font-stretch: normal;
	letter-spacing: 0px;
	color: #c4d5ee;
    width: 100%;
    height: 19px;
    position: absolute;
    top: 44px;
}

.tole_num_var_jd{
	font-family: ArialMT;
	font-size: 24px;
	font-weight: normal;
	font-stretch: normal;
	letter-spacing: 0px;
	color: #ffffff;
    width: 100%;
    height: 28px;
    position: absolute;
    top: 67px;
}


</style>
